package mason.dp.abstractfactory.store;

import mason.dp.abstractfactory.computer.Computer;
import mason.dp.abstractfactory.computer.MacBook;
import mason.dp.abstractfactory.computer.MacComputer;
import mason.dp.abstractfactory.factory.ComputerComponentFactory;
import mason.dp.abstractfactory.factory.ComputerFactory;
import mason.dp.abstractfactory.factory.MacComponentFactory;
import mason.dp.abstractfactory.factory.MacComputerFacotry;

/**
 * 苹果电脑商店
 * 
 * @author MasonAir
 *
 */
public class MacStore extends ITStore {
	private ComputerFactory cf;

	public MacStore() {
		cf = new MacComputerFacotry();
	}

	@Override
	Computer createComputer(String type) {
		return cf.createComputer(type);
	}

}
